using System; 
using System.Collections.Generic; 
using System.Text; 
using FluentNHibernate.Mapping;

namespace Zeus.Biz.DomainModel.NHib.Northwind {
    
    
    public class CustomerAndSuppliersByCityMap : ClassMap<CustomerAndSuppliersByCity> {
        
        public CustomerAndSuppliersByCityMap() {
			Table("Customer and Suppliers by City");
			LazyLoad();
			CompositeId();
			Map(x => x.City).Column("City").Length(15);
			Map(x => x.CompanyName).Column("CompanyName").Not.Nullable().Length(40);
			Map(x => x.ContactName).Column("ContactName").Length(30);
			Map(x => x.Relationship).Column("Relationship").Not.Nullable().Length(9);
        }
    }
}
